/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.wutu.nbyjk8.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wutu.nbyjk8.domain.DataJsonSourceManage;
import com.wutu.nbyjk8.domain.DataSourceManage;
import com.wutu.nbyjk8.vo.QueryVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * 数据源管理MAPPER接口
 *
 * @author 朱欢乐
 * @version 2023-06-19
 */
@Mapper
public interface DataJsonSourceManageMapper extends BaseMapper<DataJsonSourceManage> {

    @Delete("drop table IF EXISTS \"public\".${tableName}")
    void deletetable(@Param("tableName") String tableName);

    @Update("${sql}")
    void createable(@Param("sql") String sql);
}
